package com.xiaoke.domain.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.TableField;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

/**
 * 用户表(User)表实体类
 *
 * @author xiaoke
 * @since 2023-03-22 22:06:20
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user")
public class User {
    @TableId
    private Long id;

    //用户名
    private String username;
    //密码
    private String password;
    //昵称
    private String name;
    //签名
    private String signature;
    //头像
    private String portrait;
    @TableField(exist = false)
    private String token;
    //状态
    private String status;
    //创建时间
    private Date createTime;
    //更新时间
    private Date updateTime;
    //删除标志(1代表未删除,0代表已删除)
    private Integer delFlag;
}

